package com.mizhiquan.service;

import com.github.pagehelper.PageInfo;
import com.mizhiquan.common.ServerResponse;
import com.mizhiquan.pojo.Circle;
import com.mizhiquan.vo.UserCirclesVo;

import java.util.List;

/**
 * Created by zd on 2017/7/6 0006.
 */
public interface ICircleService {

    ServerResponse<Circle> getCircleInfo(String circleId);

    ServerResponse<PageInfo> getAskList(String circleId,int pageNum,int pageSize,String orderBy);

    ServerResponse<List<UserCirclesVo>> getUserCircles(String userId);

    ServerResponse<PageInfo> searchCircles(String keyword, int pageNum, int pageSize);
}
